import {createRouter,createWebHistory,RouteRecordRaw} from 'vue-router'

const routes: Array<RouteRecordRaw> = [
    {
        path:'/ResigerView',
        name:'ResigerView',
        component:()=>import('../views/user/ResigerView.vue')
    },{
      path:'/LoginView',
      name:'LoginView',
      component:()=>import('../views/user/LoginView.vue')
    },{
      path:'/UserLoginList',
      name:'UserLoginList',
      component:()=>import('../views/user/UserLoginList.vue')
    },{
      path:'/FinanceInsert',
      name:'FinanceInsert',
      component:()=>import('../views/Finance/FinanceInsert.vue')
    },{
      path:'/FinanceList',
      name:'FinanceList',
      component:()=>import('../views/Finance/FinanceList.vue')
    },{
      path:'/BorrowInvest',
      name:'BorrowInvest',
      component:()=>import('../views/Borrow/BorrowInvest.vue')
    },{
      path:'/',
      name:'BorrowAdminList',
      component:()=>import('../views/Borrow/BorrowAdminList.vue')
    },{
      path:'/BorrowUserList',
      name:'BorrowUserList',
      component:()=>import('../views/Borrow/BorrowUserList.vue')
    }
]

export const router = createRouter({
    history:createWebHistory(),
    routes
})